import request from "@/utils/request";
// /tournament-teams/list
export function getTournamentTeamsList(params) {
	return request({
		url: "/teams/list",
		method: "get",
		params: params
	});
}
// /teams/create
export function createTeams(data) {
	return request({
		url: "/teams/create",
		method: "post",
		data: data
	});
}
// /team-members/myTeam
export function getMyTeam(params) {
	return request({
		url: "/team-members/myTeam",
		method: "get",
		params: params
	});
}
// /team-members/create
export function createTeamMember(data) {
	return request({
		url: "/team-members/create",
		method: "post",
		data: data
	});
}
// /team-members/delete/{id}
export function deleteTeamMember(id) {
	return request({
		url: "/team-members/delete/" + id,
		method: "get"
	});
}

